
/* 清除浮动 */
.clearfix::after {
  content: " ";
  height: 0;
  display: block;
  clear: both;
}
/* 版心 */
.contenter {
  width: 1200px;
  margin-right: auto;
  margin-left: auto;
}
/* 转化盒子模型 */
html {
  box-sizing: border-box;
}
*,
*::after,
*::before {
  box-sizing: inherit;
}
body{
  position: relative;
}
//-------------------------

// 顶部
.top-bar {
  z-index: 3;
  height: 35px;
  border-bottom: 1px solid #e6e6e6;
  background-color: #f2f2ff;
  font-size: 12px;
  color: black;
  line-height: 34px;
  .contenter {
    display: flex;
    height: 34px;
    justify-content: space-between;
    .l-box {
      display: flex;
      .collect {
        display: flex;
        align-items: center;
        padding-right: 8px;
        .icon-shoucang {
          margin-right: 5px;
          color: #e01662;
          font-size: 18px;
        }
        a {
          color: black;
        }
        a:hover {
          color: #e01662;
        }
      }
      .weixin:hover {
        background-color: #fff;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #fff;

      }
      .weixin:hover .qr_code {
        display: block;
      }
      .weixin {
        position: relative;
        display: flex;
        align-items: center;
        padding-right: 8px;
        border-left: 1px solid transparent;
        border-right: 1px solid transparent;
        border-bottom: 1px solid transparent;
        .icon-weixin {
          margin-left: 5px;
          margin-right: 5px;
          color: #e01662;
          font-size: 20px;
        }
        a {
          color: black;
        }
        a:hover {
          color: #e01662;
        }
        .qr_code {
          z-index: 3  ;
          position: absolute;
          top: 33px;
          left: -1px;
          display: none;
          width: 160px;
          height: 184px;
          border: 1px solid #d9d9d9;
          padding: 20px 10px 10px;
          background-color: #fff;
          img {
            width: 124px;
            height: 124px;
            margin-left: 8px;
          }
          p {
            text-align: center;
            font-size: 12px;
            line-height: 12px;
            color: #737373;
          }
        }
        .qr_code::after{
          content: "";
          width: 87px;
          height: 1px;
          position: absolute;
          background-color: #fff;
          top: -1px;
          left: 0;
        }
      }
    }
    .r-box {
      ul {
        display: flex;
        justify-content: space-between;
        .f-item {
          padding-right: 6px;
        }
        .log-in,
        .sign-in {
          padding: 0 2px 0 8px;
        }
        .sign-in {
          color: red;
        }
        .log-in:hover {
          color: #e01662;
        }
        span {
          color: #d9d9d9;
        }
        .shop-car:hover {
          background-color: #fff;
          color: #e01662;
          border-left: 1px solid #e6e6e6;
          border-right: 1px solid #e6e6e6;
        }
        .shop-car {
          display: flex;
          align-items: center;
          display: block;
          height: 34px;
          width: 93px;
          text-align: center;
          i {
            font-size: 16px;
            color: #e01662;
          }
          span {
            color: #e01662;
          }
        }
        .col-r {
          padding: 0 8px;
        }
        .col-r:hover {
          color: #e01662;
        }
      }
    }
  }
}
//头部
.header {
  height: 120px;
  .contenter {
    display: flex;
    .logo {
      margin-top: 10px;
      width: 390px;
      img {
        margin-top: 6px;
        display: block;
      }
    }
    .search {
      display: flex;
      flex-direction: column;
      margin-top: 40px;
      .top {
        display: flex;
        #text {
          width: 371px;
          height: 34px;
          border: 1px solid #e01662;
          border-right: none;
          font-size: 14px;
          color: #000;
          padding: 6px;
          outline: none;
        }
        #text::-webkit-input-placeholder {
          color: #ccc;
        }
        .btn {
          cursor: pointer;
          color: #fff;
          font-size: 16px;
          line-height: 34px;
          text-align: center;
          width: 80px;
          height: 34px;
          background-color: #e01662;
          font-family: tahoma, arial, 'Hiragino Sans GB', '\5FAE\8F6F\96C5\9ED1', sans-serif;
        }
      }
      .bto {
        line-height: 12px;
        margin: 5px 0 10px;
        a:hover {
          color: #e01662;
        }
        a {
          font-size: 12px;
          color: #999;
        }
      }
    }
    .relation {
      display: flex;
      align-items: center;
      margin-left: 103px;
      .num {
        cursor: pointer;
        display: flex;
        align-items: center;
        font-size: 14px;
        .icon-dianhuatianchong {
          font-size: 28px;
          margin-right: 4px;
          color: #e01662;
        }
      }
      .service {
        display: flex;
        align-items: center;
        font-size: 14px;
        border-left: 1px solid #999;
        width: 117px;
        height: 20px;
        padding-left: 20px;
        margin-left: 20px;
        .icon-wodekefu {
          font-size: 28px;
          color: #e01662;
          margin-right: 4px;
        }
        a:hover {
          color: rgb(255, 106, 0);
        }
      }
    }
  }
}
// 尾部
.footer {
  background-color: #f2f2f2;
  padding: 30px 0;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  .contenter {
    .f-list {
      display: flex;
      height: 170px;
      .f-item + .f-item {
        border-left: 1px solid #d9d9d9;
        padding-left: 45px;
      }
      .f-item {
        height: 170px;
        width: 20%;
        color: black;
        li {
          line-height: 1.4;
          a {
            font-size: 12px;
          }
          a:hover {
            color: rgb(255, 106, 0);
          }
          .f-th {
            display: block;
            font-size: 14px;
            margin-bottom: 15px;
          }
          span {
            color: #737373;
            font-size: 12px;
          }
          .s-th {
            color: black;
            font-size: 14px;
          }
        }
      }
    }
  }
}
// copy
.copy {
  ul {
    margin: 30px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    li {
      font-size: 12px;
      a {
        margin: 0 32px;
      }
      a:hover {
        color: rgb(255, 106, 0);
      }
    }
  }
  p {
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px;
    a {
      color: black;
    }
    a:hover {
      color: rgb(255, 106, 0);
    }
  }
  padding-bottom: 20px;
}

// 右侧固定
.flex-r {
  z-index: 10;
  position: fixed;
  top: 130px;
  right: 0;
  width: 80px;
  .tit {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-align: center;
    height: 30px;
    padding: 5px;
    background-color: #e53375;
  }
  .bod{
    .img{
      display: block;
      padding: 5px;
      background-color: #fff;
      img{
        display: block;
        width: 70px;
        height: 73px;
      }
    }
    #t-img{
      display: none;
      img{
        display: block;
        width: 80px;
        height: auto;
      }
    }
  }
}
.vx_bg{
  z-index: 9;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .3);
  display: none;
  .vx_box{
    margin: 50px auto;
    width: 378px;
    background-color: #fff;
    .tit{
      display: flex;
      justify-content: space-between;
      align-items: center;  
      padding: 15px;
      width: 100%;
      line-height: 1.4;
      border-bottom: 1px solid #ccc;
      span{
        font-size: 18px;
      }
      i{
        font-weight: bold;
        font-size: 20px;
        color: #ccc;
      }
      i:hover{
        color: #666;
      }
    }
    .bod{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 15px;
      border-bottom: 1px solid #ccc;
      p{
        font-size: 14px;
        margin-bottom: 10px;
        span{
          font-weight: bold;
          color: #ff6700;
        }
      }
      .img{
        width: 280px;
        height: 280px;
        img{
          width: 100%;
        }
      }
    }
    .foot{
      display: flex;
      align-items: center;
      justify-content: end;
      width: 100%;
      padding: 15px;
      button{
        width: 56px;
        height: 34px;
        background-color: #fff;
        border: 1px solid #ccc;
      }
      button:hover{
        background-color: #ededed;
      }
    }
  }
}
// 下方固定
#flex-b{
  z-index: 7;
  position: fixed;
  bottom: 0;
  right: 0;
  .bg{
    width: 200px;
    height: 40px;
    display: block;
  }
  #off{
    position: absolute;
    cursor: pointer; 
    right: 0;
  }
}


